package edu.seu.mart.service;

import edu.seu.mart.entity.Pager;
import edu.seu.mart.model.User;

/**
 * Created by samsung on 2015/3/6.
 */
public interface IUserService {

    public User login(String username, String password);

    public Pager<User> findUser();

    public void delete(int id);

    public void updateStatus(int id);

    public void deleteChecked(String[] ids);

    public Pager<User> findUser(String name);

    public User findUserByEmail(String email);

    public User load(int id);

    public void save(User user);

    public void updateMoney(int id, double money);

    void update(User user);
}
